package cn.appsys.service.info;

import cn.appsys.pojo.Info;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InfoService {
    List<Info> findAppInfoList(String softwareName,
                               Integer status,
                               Integer flatformId,
                               Integer categoryLevel1,
                               Integer categoryLevel2,
                               Integer categoryLevel3,
                               Integer devId,
                               Integer form,
                               Integer pageSize);

    int findAppInfoCount(String softwareName,
                         Integer status,
                         Integer flatformId,
                         Integer categoryLevel1,
                         Integer categoryLevel2,
                         Integer categoryLevel3,
                         Integer devId);

    Info findAppInfo(Integer id, String APKName);
    boolean add(Info info);
    boolean delAppLog(Integer id);
    boolean modify(Info info);
    boolean modifyVersionId(Integer versionId,Integer id);
    boolean removeApp(Integer id);
    boolean appsysUpdateSaleStatusByAppId(Info info);
    boolean updateStatus(Integer status,Integer id);
}
